﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Web.Mvc;

namespace GdHotel.Data
{
    [MetadataType(typeof (MessageMetaData))]
    public partial class Message
    {
    }

    public class MessageMetaData
    {
        [Display(Name = "Заголовок")]
        public Object Title { get; set; }

        [Display(Name = "Текст")]
        public Object Text { get; set; }

        [Display(Name = "Получатели")]
        public Object Recipients { get; set; }

        [Display(Name = "Отправлено")]
        public Object Sent { get; set; }
    }
}
